Auto merge of #4292 - xftroxgpx:unconfuse_bin_name, r=matklad
authorbors <bors@rust-lang.org>
Tue, 18 Jul 2017 12:34:41 +0000 (12:34 +0000)
committerbors <bors@rust-lang.org>
Tue, 18 Jul 2017 12:34:41 +0000 (12:34 +0000)
commit93b444fa6363c5f5187cd9e3fe57da6344f6404b
tree711962dfb3f3474675f5b3a3a775dfb4e0a4d436
parent13cf358d5b7c3e2b18a3eac1ce892d971081b323
parent7fdcd749635d0d7fd53aa6a3d8bb62980d4a7610
Auto merge of #4292 - xftroxgpx:unconfuse_bin_name, r=matklad

quote the binary name in the warning

to avoid confusion when the warning happens inside a workspace, example:
pwd is rustlearnage/rust_books/1_first_edition/closures/
and `cargo run` shows:
```
warning: path `src/main.rs` was erroneously implicitly accepted for binary match,
please set bin.path in Cargo.toml
```
(note that 'match' is not quoted, so it's confusing)

the 'match' project that it's referring to is in rustlearnage/rust_books/1_first_edition/match/
(note: Cargo.toml [workspace] is in rustlearnage/ )